package top.infopub.mgr.ic.service;

import com.github.pagehelper.Page;

import top.infopub.mgr.ic.domain.StopBuildDomain;
import top.infopub.mgr.ic.vo.StopBuildVo;
import top.infopub.model.ic.StopBuild;
import top.infopub.generic.GenericService;

public interface StopBuildService extends GenericService<StopBuild, String> {
 
    /**
     * 根据条件查询停工审批分页数据
     * @param stopBuildVo
     * @return
     * @see
     */
    Page<StopBuildDomain> selectByDomainWhere(Page<StopBuildDomain> page,StopBuildVo stopBuildVo);

    /**
     * 根据条件查询-我审批的停工审批分页数据
     * @param stopBuildVo
     * @return
     * @see
     */
    Page<StopBuildDomain> selectMyCheckByDomainWhere(Page<StopBuildDomain> page,StopBuildVo stopBuildVo);

    /**
     * 新增
     */
    void saveStopBuild(StopBuild stopBuild);

    /**
     * 详情
     */
    StopBuildVo queryById(String id);
    
}